package com.project.bean;

import java.time.LocalDate;

public class NoteBean {
    private int id;//主键id
    private LocalDate noteDate=LocalDate.now();//日期
    private String noteInfo;//日志内容、、

    public NoteBean() {
    }

    public NoteBean(String noteInfo) {
        this.noteInfo = noteInfo;
    }

    public static void main(String[] args) {
        System.out.println(LocalDate.now());
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public LocalDate getNoteDate() {
        return noteDate;
    }

    public void setNoteDate(LocalDate noteDate) {
        this.noteDate = noteDate;
    }

    public String getNoteInfo() {
        return noteInfo;
    }

    public void setNoteInfo(String noteInfo) {
        this.noteInfo = noteInfo;
    }

    @Override
    public String toString() {
        return "NoteBean{" +
                "id=" + id +
                ", noteDate=" + noteDate +
                ", noteInfo='" + noteInfo + '\'' +
                '}';
    }
}
